home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10197 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  689 b 

  1. Path: mindlink.bc.ca!a7900
  2. From: Kandiah_Ratnavale@mindlink.bc.ca (Kandiah Ratnavale)
  3. Newsgroups: comp.lang.c
  4. Subject: square root
  5. Date: Fri, 15 Mar 96 15:33:59 -0800
  6. Organization: MIND LINK! - British Columbia, Canada
  7. Distribution: world
  8. Message-ID: <84210-826932839@mindlink.bc.ca>
  9. NNTP-Posting-Host: mindlink.net
  10.  
  11. I am trying to learn C
  12.  
  13. When I try to write a program to calculate a square root, I have included
  14. stdio.h and math.h and I get an error message saying
  15.  
  16. "Undefined symbol _sqrt referenced from text segment"
  17.  
  18. and my program does not compile!
  19.  
  20. Can anyone clarify the problem and give me some lead as to what I am doing
  21. wrong?
  22.  
  23. I am using the Linux OS in X Windows.
  24.  
  25. kandiah
  26.  
  27.